miscellaneous functions
Xgr ( )
XgrBorderNameToNumber ( border$, @border )
XgrBorderNumberToName ( border, @border$ )
XgrBorderNumberToWidth ( border, @width )
XgrCreateFont ( @font, fontName$, fontSize, fontWeight,
fontItalic, fontAngle )
XgrCursorNameToNumber ( cursorName$, @cursorNumber )
XgrCursorNumberToName ( cursorNumber, @cursorName$ )
XgrDestroyFont ( font )
XgrGetClipboard ( clipboard, @clipType, @text$, @image[] )
XgrGetCursor ( @cursor )
XgrGetDisplaySize ( display$, @width, @height,
@borderWidth, @titleHeight )
XgrGetFontInfo ( font, @fontName$, @fontSize, @fontWeight,
@fontItalic, @fontAngle )
XgrGetFontMetrics ( font, @maxCharWidth, @maxCharHeight,
@ascent, @DECent, @gap, @flags )
XgrGetFontNames ( @count, @fontNames$[] )
XgrGetKeystateModify ( state, @modify, @edit )
XgrGetTextImageSize ( font, text$, @dx, @dy, @width, @height, @topGap,
@flags )
XgrIconNameToNumber ( iconName$, @iconNumber )
XgrIconNumberToName ( iconNumber, @iconName$ )
XgrRegisterCursor ( cursorName$, @cursor )
XgrRegisterIcon ( iconName$, @icon )
XgrSetClipboard ( clipboard, clipType, @text$, @image[] )
XgrSetCursor ( cursor, @oldCursor )
version$ = XgrVersion$ ( )
color functions
XgrConvertColorToRGB ( color, @red, @green, @blue )
XgrConvertRGBToColor ( red, green, blue, @color )
XgrGetBackgroundColor ( grid, @color )
XgrGetBackgroundRGB ( grid, @red, @green, @blue )
XgrGetDefaultColors (@back, @draw, @lo, @hi, @dull, @acc,
@lowtext, @hightext )
XgrGetDrawingColor ( grid, @color )
XgrGetDrawingRGB ( grid, @red, @green, @blue )
XgrGetGridColors ( grid, @back, @draw, @lo, @hi, @dull,
@acc, @lowtext, @hightext )
XgrSetBackgroundColor ( grid, color )
XgrSetBackgroundRGB ( grid, red, green, blue )
XgrSetDefaultColors ( back, draw, lo, hi, dull, acc,
lowtext, hightext )
XgrSetDrawingColor ( grid, color )
XgrSetDrawingRGB ( grid, red, green, blue )
XgrSetGridColors ( grid, back, draw, lo, hi, dull, acc,
lowtext, hightext )
window functions
XgrClearWindow ( window, color )
XgrClearWindowAndImages ( window, color )
XgrCreateWindow (@window, winType, @xDisp, @yDisp, @width,
@height, winFunc, display$ )
XgrDestroyWindow ( window )
XgrDisplayWindow ( window )
XgrGetWindowFunction ( window, @func )
XgrGetWindowIcon ( window, @icon )
XgrGetWindowPositionAndSize ( window, @xDisp, @yDisp,
@width, @height )
XgrGetWindowState ( window, @state )
XgrGetWindowTitle ( window, @title$ )
XgrHideWindow ( window )
XgrMaximizeWindow ( window )
XgrMinimizeWindow ( window )
XgrRestoreWindow ( window )
XgrSetWindowFunction ( window, func )
XgrSetWindowIcon ( window, icon )
XgrSetWindowPositionAndSize ( window, xDisp, yDisp, width,
height )
XgrSetWindowState ( window, state )
XgrSetWindowTitle ( window, title$ )
XgrShowWindow ( window )